import request from '@/utils/request'
// 1.统计销售--订单量
export const orderCount = (params) => {
  return request({
    url: `/order-service/report/orderCount`,
    params
  })
}
// 2.销售数据折线图数据
// order-service/report/amountCollect/:collectType/:start/:end
export const amountCollect = (params) => {
  return request({
    url: `/order-service/report/amountCollect/1/${params.start}/${params.end}`
  })
}
// 3.销售分布柱状图数据
// order-service/report/regionCollect
export const regionCollect = (params) => {
  return request({
    url: `/order-service/report/regionCollect/${params.start}/${params.end}`
  })
}
